feat(image): bundle agent-CLI toolkit + TUI debug stack + Claude Code (#545)#547
Open
gerchowl wants to merge 2 commits into
Open
feat(image): bundle agent-CLI toolkit + TUI debug stack + Claude Code (#545)#547gerchowl wants to merge 2 commits into
gerchowl wants to merge 2 commits into
Conversation
Refs: #70 apt block extension: expect/neovim/ripgrep/fd-find/bat/fzf + symlinks /usr/local/bin/{fd,bat} so Debian fdfind/batcat names do not trip up agents. Binary release downloads: eza/delta/lazygit/zoxide/starship/charm-freeze. Claude Code baked in: - install via official installer (3-attempt retry, mirrors cursor-agent) - symlinked to /usr/local/bin/claude - ENV IS_SANDBOX=1 lets --dangerously-skip-permissions bypass the uid-0 refusal cleanly (container is the trust boundary) - aliases cc=claude, cld='claude --dangerously-skip-permissions' Verified: image builds (linux/arm64), all 14 added tools resolve on PATH, IS_SANDBOX=1 set, aliases written to /root/.bashrc.
3 tasks
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bundles the agent-CLI + TUI-debug + Claude Code toolkit into the devcontainer image so Claude / cursor-agent sessions land in a fully-equipped environment without per-project tool installs.
Closes #545
What's added
Containerfile additions (single file change):
expect neovim ripgrep fd-find bat fzf(+ symlinks/usr/local/bin/{fd,bat}→ Debian'sfdfind/batcatso agents can use the canonical names)eza delta lazygit zoxide starship freeze(none in apt for bookworm)/usr/local/bin/claudeENV IS_SANDBOX=1soclaude --dangerously-skip-permissionsbypasses the uid-0 refusal cleanly (container is the trust boundary; documented escape hatch)cc=claudeandcld='claude --dangerously-skip-permissions'in/root/.bashrcTests (
tests/test_image.py):TestAgentToolkitclass with 36 cases covering presence + version-line for every added tool, plusIS_SANDBOX=1env assertion and alias-content checks against/root/.bashrcjust 1.50→1.51,cargo-binstall 1.18→1.19) so CI is green on this PR — both were already failing on mainValidation
just build(linux/arm64) succeedsjust test-image— all 95 tests pass, including all 36 newTestAgentToolkitcasescc/cldaliases work in interactive shellsTest plan
just test-imageagainst amd64 build (validated locally on arm64; user will retest on x86_64 host)claude --version→ 2.x;rg/fd/bat/tmux capture-pane/freezeall reachableRelated work
Part of the scope-split rework of #166 — see also #85 (Tailscale-in-container) and #546 (slim Claude Code OAuth-token forwarding) for the other slices.
Refs: #545